import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
const store = new Vuex.Store({
  state() {
    return {
      mapGeom: null,
      regionTree: [],
    };
  },
  mutations: {
    SET_MAP_GEOM: (state, value) => {
      state.mapGeom = value;
    },
    SET_REGON_TREE: (state, value) => {
      state.regionTree = value;
    },
  },
});
export default store;
